<?php

namespace App\Models;

use App\Engine\BaseModel;

class Notice extends BaseModel
{
    protected $table = 'notice';
    public $timestamps = false;
    public $fillable=[
        "name",
        "content",
        "sort"
    ];

    public $rule=[
        "name"=>"required",
        "content"=>"required",
        "sort"=>"required",
    ];

    public $ruleMessage=[
        "name.required"=>"名称不能为空",
        "content.required"=>"内容不能为空",
        "sort.required"=>"排序不能为空",
    ];

}
